Practical interruptible conversations: Distributed Dynamic Verification with Session Types and Python
Identifieur interne : 000018 ( France/Analysis ); précédent : 000017; suivant : 000019Practical interruptible conversations: Distributed Dynamic Verification with Session Types and Python
Auteurs : Romain Demangeon [France] ; Raymond Hu ; Rumyana Neykova ; Nobuko YoshidaSource :
Abstract
The rigorous and comprehensive verification of communication-based software is an important engineering challenge in distributed systems. Drawn from our industrial collaborations [33,28] on Scribble, a choreography description language based on multiparty session types, this paper proposes a dynamic verification framework for structured interruptible conversation programming. We first present our extension of Scribble to support the specification of asynchronously interruptible conversations. We then implement a concise API for conversation programming with interrupts in Python that enables session types properties to be dynamically verified for distributed processes. Our framework ensures the global safety of a system in the presence of asynchronous interrupts through independent runtime monitoring of each endpoint, checking the conformance of the local execution trace to the specified protocol. The usability of our framework for describing and verifying choreographic communications has been tested by integration into the large scientific cyberinfrastructure developed by the Ocean Observatories Initiative. Asynchronous interrupts have proven expressive enough to represent and verify their main classes of communication patterns, including asynchronous streaming and various timeout-based protocols, without requiring additional synchronisation mechanisms. Benchmarks show conversation programming and monitoring can be realised with little overhead.
Url:
DOI: 10.1007/978-3-642-40787-1_8
Affiliations:
Links toward previous steps (curation, corpus...)
- to stream Hal, to step Corpus: 000008
- to stream Hal, to step Curation: 000008
- to stream Hal, to step Checkpoint: 000003
- to stream Main, to step Merge: 000267
- to stream Main, to step Curation: 000267
- to stream Main, to step Exploration: 000267
- to stream France, to step Extraction: 000018
Links to Exploration step
Hal:hal-01214669Le document en format XML
<record><TEI><teiHeader><fileDesc><titleStmt><title xml:lang="en">Practical interruptible conversations: Distributed Dynamic Verification with Session Types and Python</title>
<author><name sortKey="Demangeon, Romain" sort="Demangeon, Romain" uniqKey="Demangeon R" first="Romain" last="Demangeon">Romain Demangeon</name>
<affiliation wicri:level="1"><hal:affiliation type="researchteam" xml:id="struct-391379" status="VALID"><orgName>Algorithmes, Programmes et Résolution </orgName>
<orgName type="acronym">APR</orgName>
<desc><address><country key="FR"></country>
</address>
</desc>
<listRelation><relation active="#struct-233" type="direct"></relation>
<relation active="#struct-93591" type="indirect"></relation>
<relation name="UMR7606" active="#struct-441569" type="indirect"></relation>
</listRelation>
<tutelles><tutelle active="#struct-233" type="direct"><org type="laboratory" xml:id="struct-233" status="VALID"><idno type="RNSR">199712651U</idno>
<orgName>Laboratoire d'Informatique de Paris 6</orgName>
<orgName type="acronym">LIP6</orgName>
<desc><address><addrLine>4 Place JUSSIEU 75252 PARIS CEDEX 05</addrLine>
<country key="FR"></country>
</address>
<ref type="url">http://www.lip6.fr/</ref>
</desc>
<listRelation><relation active="#struct-93591" type="direct"></relation>
<relation name="UMR7606" active="#struct-441569" type="direct"></relation>
</listRelation>
</org>
</tutelle>
<tutelle active="#struct-93591" type="indirect"><org type="institution" xml:id="struct-93591" status="VALID"><orgName>Université Pierre et Marie Curie - Paris 6</orgName>
<orgName type="acronym">UPMC</orgName>
<desc><address><addrLine>4 place Jussieu - 75005 Paris</addrLine>
<country key="FR"></country>
</address>
<ref type="url">http://www.upmc.fr/</ref>
</desc>
</org>
</tutelle>
<tutelle name="UMR7606" active="#struct-441569" type="indirect"><org type="institution" xml:id="struct-441569" status="VALID"><idno type="ISNI">0000000122597504</idno>
<idno type="IdRef">02636817X</idno>
<orgName>Centre National de la Recherche Scientifique</orgName>
<orgName type="acronym">CNRS</orgName>
<date type="start">1939-10-19</date>
<desc><address><country key="FR"></country>
</address>
<ref type="url">http://www.cnrs.fr/</ref>
</desc>
</org>
</tutelle>
</tutelles>
</hal:affiliation>
<country>France</country>
</affiliation>
</author>
<author><name sortKey="Hu, Raymond" sort="Hu, Raymond" uniqKey="Hu R" first="Raymond" last="Hu">Raymond Hu</name>
</author>
<author><name sortKey="Neykova, Rumyana" sort="Neykova, Rumyana" uniqKey="Neykova R" first="Rumyana" last="Neykova">Rumyana Neykova</name>
</author>
<author><name sortKey="Yoshida, Nobuko" sort="Yoshida, Nobuko" uniqKey="Yoshida N" first="Nobuko" last="Yoshida">Nobuko Yoshida</name>
</author>
</titleStmt>
<publicationStmt><idno type="wicri:source">HAL</idno>
<idno type="RBID">Hal:hal-01214669</idno>
<idno type="halId">hal-01214669</idno>
<idno type="halUri">https://hal.archives-ouvertes.fr/hal-01214669</idno>
<idno type="url">https://hal.archives-ouvertes.fr/hal-01214669</idno>
<idno type="doi">10.1007/978-3-642-40787-1_8</idno>
<date when="2013-09">2013-09</date>
<idno type="wicri:Area/Hal/Corpus">000008</idno>
<idno type="wicri:Area/Hal/Curation">000008</idno>
<idno type="wicri:Area/Hal/Checkpoint">000003</idno>
<idno type="wicri:Area/Main/Merge">000267</idno>
<idno type="wicri:Area/Main/Curation">000267</idno>
<idno type="wicri:Area/Main/Exploration">000267</idno>
<idno type="wicri:Area/France/Extraction">000018</idno>
</publicationStmt>
<sourceDesc><biblStruct><analytic><title xml:lang="en">Practical interruptible conversations: Distributed Dynamic Verification with Session Types and Python</title>
<author><name sortKey="Demangeon, Romain" sort="Demangeon, Romain" uniqKey="Demangeon R" first="Romain" last="Demangeon">Romain Demangeon</name>
<affiliation wicri:level="1"><hal:affiliation type="researchteam" xml:id="struct-391379" status="VALID"><orgName>Algorithmes, Programmes et Résolution </orgName>
<orgName type="acronym">APR</orgName>
<desc><address><country key="FR"></country>
</address>
</desc>
<listRelation><relation active="#struct-233" type="direct"></relation>
<relation active="#struct-93591" type="indirect"></relation>
<relation name="UMR7606" active="#struct-441569" type="indirect"></relation>
</listRelation>
<tutelles><tutelle active="#struct-233" type="direct"><org type="laboratory" xml:id="struct-233" status="VALID"><idno type="RNSR">199712651U</idno>
<orgName>Laboratoire d'Informatique de Paris 6</orgName>
<orgName type="acronym">LIP6</orgName>
<desc><address><addrLine>4 Place JUSSIEU 75252 PARIS CEDEX 05</addrLine>
<country key="FR"></country>
</address>
<ref type="url">http://www.lip6.fr/</ref>
</desc>
<listRelation><relation active="#struct-93591" type="direct"></relation>
<relation name="UMR7606" active="#struct-441569" type="direct"></relation>
</listRelation>
</org>
</tutelle>
<tutelle active="#struct-93591" type="indirect"><org type="institution" xml:id="struct-93591" status="VALID"><orgName>Université Pierre et Marie Curie - Paris 6</orgName>
<orgName type="acronym">UPMC</orgName>
<desc><address><addrLine>4 place Jussieu - 75005 Paris</addrLine>
<country key="FR"></country>
</address>
<ref type="url">http://www.upmc.fr/</ref>
</desc>
</org>
</tutelle>
<tutelle name="UMR7606" active="#struct-441569" type="indirect"><org type="institution" xml:id="struct-441569" status="VALID"><idno type="ISNI">0000000122597504</idno>
<idno type="IdRef">02636817X</idno>
<orgName>Centre National de la Recherche Scientifique</orgName>
<orgName type="acronym">CNRS</orgName>
<date type="start">1939-10-19</date>
<desc><address><country key="FR"></country>
</address>
<ref type="url">http://www.cnrs.fr/</ref>
</desc>
</org>
</tutelle>
</tutelles>
</hal:affiliation>
<country>France</country>
</affiliation>
</author>
<author><name sortKey="Hu, Raymond" sort="Hu, Raymond" uniqKey="Hu R" first="Raymond" last="Hu">Raymond Hu</name>
</author>
<author><name sortKey="Neykova, Rumyana" sort="Neykova, Rumyana" uniqKey="Neykova R" first="Rumyana" last="Neykova">Rumyana Neykova</name>
</author>
<author><name sortKey="Yoshida, Nobuko" sort="Yoshida, Nobuko" uniqKey="Yoshida N" first="Nobuko" last="Yoshida">Nobuko Yoshida</name>
</author>
</analytic>
<idno type="DOI">10.1007/978-3-642-40787-1_8</idno>
</biblStruct>
</sourceDesc>
</fileDesc>
<profileDesc><textClass></textClass>
</profileDesc>
</teiHeader>
<front><div type="abstract" xml:lang="en">The rigorous and comprehensive verification of communication-based software is an important engineering challenge in distributed systems. Drawn from our industrial collaborations [33,28] on Scribble, a choreography description language based on multiparty session types, this paper proposes a dynamic verification framework for structured interruptible conversation programming. We first present our extension of Scribble to support the specification of asynchronously interruptible conversations. We then implement a concise API for conversation programming with interrupts in Python that enables session types properties to be dynamically verified for distributed processes. Our framework ensures the global safety of a system in the presence of asynchronous interrupts through independent runtime monitoring of each endpoint, checking the conformance of the local execution trace to the specified protocol. The usability of our framework for describing and verifying choreographic communications has been tested by integration into the large scientific cyberinfrastructure developed by the Ocean Observatories Initiative. Asynchronous interrupts have proven expressive enough to represent and verify their main classes of communication patterns, including asynchronous streaming and various timeout-based protocols, without requiring additional synchronisation mechanisms. Benchmarks show conversation programming and monitoring can be realised with little overhead.</div>
</front>
</TEI>
<affiliations><list><country><li>France</li>
</country>
</list>
<tree><noCountry><name sortKey="Hu, Raymond" sort="Hu, Raymond" uniqKey="Hu R" first="Raymond" last="Hu">Raymond Hu</name>
<name sortKey="Neykova, Rumyana" sort="Neykova, Rumyana" uniqKey="Neykova R" first="Rumyana" last="Neykova">Rumyana Neykova</name>
<name sortKey="Yoshida, Nobuko" sort="Yoshida, Nobuko" uniqKey="Yoshida N" first="Nobuko" last="Yoshida">Nobuko Yoshida</name>
</noCountry>
<country name="France"><noRegion><name sortKey="Demangeon, Romain" sort="Demangeon, Romain" uniqKey="Demangeon R" first="Romain" last="Demangeon">Romain Demangeon</name>
</noRegion>
</country>
</tree>
</affiliations>
</record>
Pour manipuler ce document sous Unix (Dilib)
EXPLOR_STEP=$WICRI_ROOT/Ticri/CIDE/explor/CyberinfraV1/Data/France/Analysis
HfdSelect -h $EXPLOR_STEP/biblio.hfd -nk 000018 | SxmlIndent | more
Ou
HfdSelect -h $EXPLOR_AREA/Data/France/Analysis/biblio.hfd -nk 000018 | SxmlIndent | more
Pour mettre un lien sur cette page dans le réseau Wicri
{{Explor lien |wiki= Ticri/CIDE |area= CyberinfraV1 |flux= France |étape= Analysis |type= RBID |clé= Hal:hal-01214669 |texte= Practical interruptible conversations: Distributed Dynamic Verification with Session Types and Python }}
This area was generated with Dilib version V0.6.25. |